package com.ruoyi.project.socket.decode;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import lombok.extern.slf4j.Slf4j;
import java.util.List;


/**
 * 解码器
 * @author Administrator
 *
 */
@Slf4j
public class MsgPckDecode extends ByteToMessageDecoder {
    @Override
    protected void decode(ChannelHandlerContext ctx, ByteBuf buffer, List<Object> out) throws Exception {
        byte start = buffer.getByte(buffer.readerIndex());
    }

}